home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
015
/
vps11.arc
/
LASERJT.VPS
< prev
next >
Wrap
Text File
|
1986-06-11
|
2KB
|
58 lines
*-----------------------------------------------------------------*
* *
* This example shows some of the simpler LASERJET printer control *
* sequences. It does not take advantage of capabilities that may *
* be available for specific font cartridges. This example will *
* give you some idea of what can be done, but will have to be *
* modified to suit your personal situation. *
*-----------------------------------------------------------------*
@TITLE=HP LaserJet Printer Setup
@WRITDATA=This is some test data, which can be used to verify options.
*-----------------------------------------------------------------*
* NOTE the different formats of the two @LPT statements. The *
* first is used to establish the default printer; the second is *
* used to indicate that output for LPT1 is being routed to the *
* COM2 port. This statement must be used for any serial printer *
* which has output routed to it via a DOS MODE command. *
*-----------------------------------------------------------------*
@LPT=1
@LPT1=COM2:
A-Portrait=27,"&l0O"
B-Landscape=27,"&l1O"
C-10 CPI=27,"(s10","H"
D-12 CPI=27,"(s12","H"
E-16.66 CPI=27,"(s16",".6H"
F-7 point=27,"(s7V"
G-8 point=27,"(s8V"
H-10 point=27,"(s10","V"
I-12 point=27,"(s12","V"
J-14 point=27,"(s14",".4V"
K-Upright=27,"(s0S"
L-Italic=27,"(s1S"
M-Light stroke=27,"(s-3","B"
N-Medium stroke=27,"(s0B"
O-Bold stroke=27,"(s3B"
P-Courier=27,"(s3T"
Q-Helv=27,"(s4T"
R-TMS RMN=27,"(s5T"
S-Prestige=27,"(s8T"
T-Gothic=27,"(s6T"
U-60 Lines/Page=27,"&l60","P"
V-45 Lines/Page=27,"&l45","P"
W-Write text=WRIT
X-8 LPI=27,"&l8D"
Y-FORM FEED=12
*------------------------------------------------------------*
* NOTE the use of the CLRB control code with the printer *
* reset code. This insures that the bullets beside selected *
* options are cleared when the printer is reset. *
*------------------------------------------------------------*
Z-RESET=27,"E",CLRB
1-Shift OUT=14
2-Shift IN=15
3-USASCII=27,"(0U"